import React from 'react';

class ClickDown extends React.Component {

	constructor(props) {
	  super(props);
	  this.state = {};
	}

	render() {
		return (
			<ul className="clickdown">
				{
					this.props.imgs.map((img,index)=>(
						<li key={img.id} className="showItem">
							<a href="javascript:" className={this.props.index===index?"current":""}>
								<img src={img.pictureName} width="78" height="37"/>
							</a>
						</li>
					))
				}
			</ul>
		);
	}

}

export default ClickDown;